// https://vitepress.dev/guide/custom-theme
import type { Theme } from "vitepress";
import DefaultTheme from "vitepress/theme";
import MainLayout from "./layout/MainLayout.vue";
import "./style/vars.css";
import "./style/overrides.css";
import DocTip from "./components/DocTip.vue";

export default {
  extends: DefaultTheme,
  Layout: MainLayout,
  enhanceApp({ app, router, siteData }) {
    app.component("DocTip", DocTip);
  },
} satisfies Theme;
